/*
package com.ssfeng.youxia.services;

import com.ssfeng.youxia.mapper.RoleMapper2;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

*/
/**
 * Created by liyuhang on 2019-09-13.
 *//*

@Service
public class RoleService {

    private static final Logger logger = LoggerFactory.getLogger(RoleService.class);


    @Autowired
    private RoleMapper2 roleMapper;

   public List<String> getUserRoleCodes(Long userId){
        List<String> list = null;
        try {
            list = roleMapper.getUserRoleCodes(userId);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return list;
    }
}
*/
